Skip to content

Instantly share code, notes, and snippets.

@xjuarez
xjuarez / enterprise_token.rb
Created June 4, 2026 23:40 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@nort3x
nort3x / readme.md
Last active June 4, 2026 23:40
prevent Jetbrains products (Intellij, Webstorm, Rider, Goland ...) checking for validity of License - don't use ja-netfilter

Warning

I see many people proposing solutions for other platforms (such as Windows or macOS). I cannot verify the authenticity of those methods, and you should not copy, paste, and run code from random people on the internet without first understanding what it does. Ideally, review every line carefully and, even then, run it with caution in a sandboxed environment.

Introduction

I personally experienced slowdowns and issues while using the ja-netfilter agent.

I decided to investigate how JetBrains checks license validity, because despite explicitly configuring JetBrains to work offline, it still attempts to validate licenses.

Here are my findings:

@jerdaw
jerdaw / agents-md-guidelines.md
Last active June 4, 2026 23:39
AGENTS.md Guidelines - Best practices for AI coding assistant instruction files

AGENTS.md Guidelines

A reference for creating and maintaining effective AGENTS.md files for AI coding assistants.

Scope: This document provides general-purpose guidance applicable to any project's AGENTS.md file. It intentionally contains no project-specific details. All examples use fictional/generic codebases to illustrate patterns. When applying these guidelines, adapt the examples to your specific project's needs.

Based on analysis of 2,500+ repositories and industry best practices.


@roalcantara
roalcantara / XDG.cheat-sheet.md
Last active June 4, 2026 23:33
XDG cheat sheet

XDG - Base Directory Specification (extended)

Directories

Base

The intended use-case for BaseDirectories is to query the paths of user-invisible standard directories that have been defined according to the conventions of the operating system the library is running on.

@sebastiandero
sebastiandero / 1v1.cfg
Created March 8, 2017 15:24
1v1 config for CSGO
bot_kick;
exec gamemode_competitive;
mp_free_armor 1;
mp_freezetime 3;
mp_weapons_allow_map_placed 1;
mp_humanteam any;
mp_restartgame 1;
mp_round_restart_delay 3;
mp_roundtime 80250;
mp_maxrounds 30;
@davidsmorais
davidsmorais / .starship.toml
Last active June 4, 2026 23:31
[starship configuration] #config for starship #bash
###
# Starship configuration
###
###
# Configures the starship schema
###
"$schema" = 'https://starship.rs/config-schema.json'
###
@andreick
andreick / ovpn-serpro-ubuntu-24.04-libneoidp11-workaround.md
Last active June 4, 2026 23:30
OVPN Serpro não reconhece certificado no Ubuntu 24.04 - solução com LD_PRELOAD

Descrição

No Ubuntu 24.04, o OVPN Serpro (2.3.260327) pode não reconhecer o certificado do SerproID, embora o SerproID Desktop 2.1.6 tenha instalado o certificado.

O problema ocorre por falha ao carregar o módulo PKCS#11 libneoidp11.so via p11-kit, devido a erro de símbolo não resolvido.

~$ p11-kit list-modules --verbose
p11-kit: não foi possível carregar módulo:
/usr/lib/libneoidp11.so: undefined symbol: _Unwind_Resume_or_Rethrow